package controller

import (
	"github.com/doujunyu/gogo/job"
	"go_self/model"
)

//首页
func HomePage(j *job.Job) {
	//轮播图
	list := make(map[string]interface{})
	list["banner"] = *model.BannerList()
	list["version"] = model.VersionByOutsetList()
	j.JsonSuccess(list)
}
